package com.ihisomp.mapper;

import com.ihisomp.entity.SysUserWork;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 用户与工种关联表 Mapper 接口
 * </p>
 *
 * @author zy
 * @since 2022-04-15
 */
public interface SysUserWorkMapper extends BaseMapper<SysUserWork> {

    /**
     * 根据用户编码删除用户对应工种
     *
     * @param userKey
     * @return
     */
    int deleteByUserKey(String userKey);
}
